import request from "@utils/request";

export function getLiveList(id, page){
    return request({
        url: "/api/video/getVideoList",
        method: "get",
        params: {
            id, page
        }
    })
}

export function getHistory(id){
    return request({
        url: "/api/Lottery/getLotteryOneList",
        method: "get",
        params: {
            key: id
        }
    })
}

export function reward(data){
    return request({
        url: "/api/game/placeOrder",
        method: "post",
        data: data
    })
}
